// Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
package fl.managers;
import flash.display.DisplayObjectContainer;
import flash.display.InteractiveObject;
import flash.display.Sprite;
import fl.controls.Button;

extern interface IFocusManager {
	public var defaultButton(dynamic, dynamic):Button;
	public var defaultButtonEnabled(dynamic, dynamic):Bool;
	public var nextTabIndex(dynamic, null):Int;
	public var showFocusIndicator(dynamic, dynamic):Bool;
	function getFocus():InteractiveObject;
	function setFocus(o:InteractiveObject):Void;
	function showFocus():Void;
	function hideFocus():Void;
	function activate():Void;
	function deactivate():Void;
	function findFocusManagerComponent(component:InteractiveObject):InteractiveObject;
	function getNextFocusManagerComponent(backward:Bool = false):InteractiveObject;
	public var form(dynamic, dynamic):DisplayObjectContainer;
}


